﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TimberSmart.Model.Common
{
    public class Address
    {
        public int Id { get; set; }

        public string Address1 { get; set; }
        public string Address2 { get; set; }
        public string Suburb { get; set; }
        public string State { get; set; }
        public string Country { get; set; }
        [Timestamp]
        public byte[] RowVersion { get; set; }
        
        //FK's
        public int? PostCodeID { get; set; }
        public virtual PostCode PostCode { get; set; }
    }
}
